package com.ruoyi.refundincome.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退单记录对象 house_contrct_refund_income
 * 
 * @author hct
 * @date 2022-03-01
 */
public class HouseContrctRefundIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contrctId;

    /** 退租账单id */
    @Excel(name = "退租账单id")
    private Long refundBillId;

    /** 1.退款给用户  2.用户补款 */
    @Excel(name = "1.退款给用户  2.用户补款")
    private Integer refundType;

    /** 退租金额 */
    @Excel(name = "退租金额")
    private BigDecimal refundFee;

    /** 费用类型 1代表固定收费 2代表变化收费 */
    @Excel(name = "费用类型 1代表固定收费 2代表变化收费")
    private Integer feeType;

    /** 固定收费 1代表租金 2代表管理费，变化收费对应费用表信息 */
    @Excel(name = "固定收费 1代表租金 2代表管理费，变化收费对应费用表信息")
    private Integer feeTypeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContrctId(Long contrctId) 
    {
        this.contrctId = contrctId;
    }

    public Long getContrctId() 
    {
        return contrctId;
    }
    public void setRefundBillId(Long refundBillId) 
    {
        this.refundBillId = refundBillId;
    }

    public Long getRefundBillId() 
    {
        return refundBillId;
    }
    public void setRefundType(Integer refundType) 
    {
        this.refundType = refundType;
    }

    public Integer getRefundType() 
    {
        return refundType;
    }
    public void setRefundFee(BigDecimal refundFee) 
    {
        this.refundFee = refundFee;
    }

    public BigDecimal getRefundFee() 
    {
        return refundFee;
    }
    public void setFeeType(Integer feeType) 
    {
        this.feeType = feeType;
    }

    public Integer getFeeType() 
    {
        return feeType;
    }
    public void setFeeTypeId(Integer feeTypeId) 
    {
        this.feeTypeId = feeTypeId;
    }

    public Integer getFeeTypeId() 
    {
        return feeTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("contrctId", getContrctId())
            .append("refundBillId", getRefundBillId())
            .append("refundType", getRefundType())
            .append("refundFee", getRefundFee())
            .append("feeType", getFeeType())
            .append("feeTypeId", getFeeTypeId())
            .toString();
    }
}
